package com.geek.framework.study.util;

import java.util.HashMap;
import java.util.Map;
import java.util.Properties;


public interface PropertiesUtils {

    static Map<String, String> toStringMap(Properties properties) {
        Map<String, String> result = new HashMap<>();
        properties.forEach((k,v)->{
            result.put(String.valueOf(k), String.valueOf(v));
        });
        return result;
    }

}
